package com.itcast;

import org.junit.Test;

import java.util.Arrays;
import java.util.Calendar;

public class ArrayDemo {
    static int arr[] = new int[] {1,2,3,4,5,6};
    static int arr2[] = new int[] {11,22,33,44,55,66};
    @Test
    public void test(){
        System.arraycopy(arr,2,arr2,2,3);
        System.out.println(Arrays.toString(arr2));
    }

    @Test
    public void test2(){
        Calendar calendar = Calendar.getInstance();
//        int month = Calendar.MONTH;
        System.out.println(calendar);
    }
}
